import { NgModule } from '@angular/core';
import {NewsRoutingModule} from "@news/news-routing.module";
import {NewsComponent} from "@news/news.component";
import {NewsService} from "@news/news.service";
import {SharedModule} from "@shared/shared.module";
import {PhotoNewsComponent} from "@news/photo-news/photo-news.component";
import {RecommendComponent} from "@news/recommend/recommend.component";
import {NewsCommentComponent} from "@news/comment/news-comment.component";

@NgModule({
  imports: [
    SharedModule,
    NewsRoutingModule
  ],
  declarations: [
    NewsComponent,
    PhotoNewsComponent,
    RecommendComponent,
    NewsCommentComponent
  ],
  providers: [NewsService]
})
export class NewsModule { }
